<!DOCTYPE HTML>
<html>
<head>
<title>Overflow by HTML5 UP</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<script src="js/jquery.min.js"></script>
<script src="js/jquery.poptrox-2.2.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/init.js"></script>
<script src="js/shiyiTool.js"></script>
<link rel="stylesheet" href="../css/skel-noscript.css" />
<link rel="stylesheet" href="../css/style.css" />
</head>
<body>

	<!-- Header -->
	<section id="header">
		<header>
			<h1>Time Axis</h1>
			<p>By HTML5 UP</p>
		</header>
		<footer>
			<a href="#banner" class="button style2 scrolly">Proceed as
				anticipated</a>
		</footer>
	</section>

	<!-- Banner -->
	<section id="banner">
		<header>
			<h2>时光轴标题</h2>
		</header>
		<p>时光轴简介</p>
		<footer>
			<a href="http://ojbk.net/center/login.do?cname=SSGZ" class="button style2 scrolly">Act on
				this Axis</a>
		</footer>
	</section>

	<section id="footer">
		<ul class="icons">
			<li><a class="icon icon-user solo" href="http://ojbk.net/center/login.do?cname=SSGZ"><span>登录</span></a></li>
		</ul>
		<div class="copyright">
			<p>
				Copyright © <a href="#">师易时光印记空间 - 时光轴</a> 2018. OJBK <a
					title="师易信息科技有限公司" href="http://ojbk.net/center" target="_blank">师易信息科技有限公司</a>
			</p>
		</div>
	</section>
	<script type="text/javascript">
		$(function(){
			var value = getParValue(window.location.href, "msg");
			if (value != null) {
				console.log(value);
				alert(value);
			}
		});
	
		/* $(function(){
			alert(getRootPath());
		}); */
	
		function getRootPath() {
			//获取当前网址，如： http://localhost:8083/uimcardprj/share/meun.jsp
			var curWwwPath = window.document.location.href;
			//获取主机地址之后的目录，如： uimcardprj/share/meun.jsp
			var pathName = window.document.location.pathname;
			var pos = curWwwPath.indexOf(pathName);
			//获取主机地址，如： http://localhost:8083
			var localhostPaht = curWwwPath.substring(0, pos);
			//获取带"/"的项目名，如：/uimcardprj
			var projectName = pathName.substring(0, pathName.substr(1).indexOf(
					'/') + 1);
			return (localhostPaht + projectName);
		}
	</script>
</body>
</html>